package com.egoo.ticket.server.utils.common;

/**
 * @author：victor_tang
 * @Date ：2019/10/6
 * @Description：工单系统常量类
 */
public class ConstantCode {

	/**
	 * 删除状态(正常)
	 */
	public static final String DELETE_NOMAL = "0";
	/**
	 * 删除状态
	 */
	public static final String DELETED = "1";
	/**
	 * 删除状态(正常)
	 */
	public static final int DELETE_NOMAL_OLD = 0;
	/**
	 * 删除状态
	 */
	public static final int DELETED_OLD = 1;

	/**
	 * / 启用
	 */
	public static final String  STATUS_NOMAL= "0";
	/**
	 * / 停用
	 */
	public static final String STATUS_CLOSED = "1";

	/**
	 * / 启用
	 */
	public static final Integer  STATUS_NOMAL_OLD= 1;
	/**
	 * / 停用
	 */
	public static final Integer STATUS_CLOSED_OLD = 0;
	/**
	 * 系统自动操作标识
	 */
	public static final  String SYSTEM_OPERATION_LOGO = "sys";
	public static final  String SYSTEM_OPERATION_LOGO_NAME = "系统";

	/**
	 * 系统标识  Y是   N否
	 */
	public static final  String Y = "Y";
	public static final  String N = "N";

	/**
	 * 当前用户信息
	 */
	public static class CurrentUserInfo{
		// 用户id
		public static final String USER_ID ="userId";
		// 租户id
		public static final String TENANT_ID ="tenantId";
	}
	/**
	 * 用户，角色，部门分类
	 */
	public static class UserRoleDeptType {
		// 用户
		public static final String ALL = "all";
		// 用户
		public static final String ALL_ZH = "全部";
		// 用户
		public static final String USER = "user";
		// 用户中文
		public static final String USER_ZH = "员工";
		// 角色
		public static final String ROLE = "role";
		// 角色中文
		public static final String ROLE_ZH = "角色";
		// 部门
		public static final String DEPT = "dept";
		// 部门中文
		public static final String DEPT_ZH = "部门";
	}
	/**
	 * 用户，角色，部门分类
	 */
	public static class SynEurmDataType {
		// 用户
		public static final String USER = "User";
		// 角色
		public static final String ROLE = "Role";
		// 部门
		public static final String DEPT = "Dept";
		// 部门组
		public static final String DEPT_GROUP = "DeptGroup";
		// 租户
		public static final String ORG = "Org";
	}
	/**
	 * 用户，角色，部门分类
	 */
	public static class SynEurmOpType {
		// 新增
		public static final String INSERT = "1";
		// 编辑
		public static final String UPDATE = "2";
		// 删除
		public static final String DELETE = "3";
	}
	/**
	 * 触发器执行类型
	 */
	public static class TriggerActionType {
		// 工单
		public static final String WORK_ORDER = "work_order";
		// 系统
		public static final String SYSTEM = "system";
		// 外部接口
		public static final String EXTERNAL_INTERFACE = "external_interface";

	}
	/**
	 * 触发器类型
	 */
	public static class TriggerType {
		// 多次
		public static final String MORE = "0";
		// 单次
		public static final String SINGLE = "1";

	}
	/**
	 * 触发器执行标识
	 */
	public static class TriggerActionlogo {
		// 工单
		public static final String CODE = "trigger";
		// 系统
		public static final String NAME = "触发器执行";
	}
	/**
	 * 系统字典编码
	 */
	public static class SysDictCode {
		//触发器执行动作类型
		public static final String TRIGGER_ACTION_TYPE = "trigger_action_type";
		// 设置工单状态
		public static final String SET_STATUS = "set_status";
		// 设置工单优先级
		public static final String SET_PRIORITY = "set_priority";
		// 设置工单处理人
		public static final String SET_HANDLER = "set_handler";
		// 给创建人发送系统消息
		public static final String PUSH_MSG_CREATER = "push_msg_creater";
		// 给处理人发送系统消息
		public static final String PUSH_MSG_HANDLER = "push_msg_handler";
		// 给系统用户发送消息
		public static final String PUSH_MSG_SYSUSER = "push_msg_sysuser";
		// 给工单关注人发送消息
		public static final String PUSH_MSG_MONITOR = "push_msg_monitor";
		// 外部接口推送
		public static final String PUSH_INTERFACE = "push_interface";
		// 给员工发短信
		public static final String SEND_MSG_EMPLOYEE = "send_msg_employee";
		// 给客户发短信
		public static final String SEND_MSG_CUSTOMER = "send_msg_customer";
		// 给工单创建人发送短信
		public static final String SEND_MSG_CREATOR = "send_msg_creator";
		// 给工单当前处理人发送短信
		public static final String SEND_MSG_CURRENT_HANDLER = "send_msg_current_handler";
		//给抄送人发短信
		public static final String SEND_MSG_SENDER = "send_msg_sender";
		//给抄送人发系统消息
		public static final String PUSH_MSG_SENDER ="push_msg_sender";
		//给处理发邮件
		public static final String SEND_EMAIL_HANDLER = "send_email_handler";

		//工单按钮权限
		public static final String BUTTON_PERMISSIONS ="button_permissions";
		//工单撤回
		public static final String ORDER_WITHDRAW ="order_withdraw";
		//子工单展示
		public static final String SUB_ORDER_VIEW ="sub_order_view";
		//智能录单
		public static final String SMART_FILL_FORM ="smart_fill_form";

		//工单属性详情
		public static final String ORDER_DETAIL_ATTRIBUTE_VIEW ="order_detail_attribute_view";
		//展示工单关注人
		public static final String WORK_ORDER_MONITOR_ID ="work_order_monitor_id";
		//展示抄送人
		public static final String SENDER ="sender";

		//消息类型
		public static final String MSG_TYPE ="msg_type";
		//消息通知对象
		public static final String MSG_NOTIFY_TARGET ="msg_notify_target";
		//消息通知类型
		public static final String MSG_NOTIFY_TYPE ="sender";
	}

	/**
	 * 系统过滤器
	 */
	public static class SysFilter {
		// 所有工单过滤器
		public static final int ALL_FILTER_ID = 1;
		public static final String ALL_FILTER_NAME = "所有工单列表";

		// 当前用户创建的工单过滤器
		public static final int CREATE_FILTER_ID = 2;
		public static final String CREATE_FILTER_NAME = "我创建的工单";

		// 当前用户编辑中的过滤器
		public static final int EDIT_FILTER_ID = 3;
		public static final String EDIT_FILTER_NAME = "编辑中工单";

		//当前用户关注的过滤器
		public static final int MONITOR_FILTER_ID= 4;
		public static final String MONITOR_FILTER_NAME= "我关注的工单";

		//待处理工单列表过滤器
		public static final int WAIT_HANDLE_FILTER_ID= 5;
		public static final String WAIT_HANDLE_FILTER_NAME= "待处理工单";

		//我完成的工单列表过滤器
		public static final int FINISHED_FILTER_ID= 6;
		public static final String FINISHED_FILTER_NAME= "我完成的工单";

		//我部门下的工单列表过滤器
		public static final int FROM_DEPT_FILTER_ID= 7;
		public static final String FROM_DEPT_FILTER_NAME= "我部门下的工单";

	}

	/**
	 * 工单日志类型
	 */
	public static class WorkOrderLogType {
		// 追加日志
		public static final String LOG_TYPE_ADDITIONAL_COMMENTS = "1";
		public static final String LOG_TYPE_ADDITIONAL_COMMENTS_ONE = "追加日志";

		// 催单
		public static final String LOG_TYPE_REMINDER = "2";
		public static final String LOG_TYPE_REMINDER_TWO = "催单";
		public static final String LOG_TYPE_URGE = "urge";

		// 超时
		public static final String LOG_TYPE_TIMEOUT = "3";
		public static final String LOG_TYPE_TIMEOUT_THREE = "超时";
		public static final String LOG_TYPE_TIME_OUT = "timeOut";

		// 回访
		public static final String LOG_TYPE_RETURN_VISIT = "4";
		public static final String LOG_TYPE_RETURN_VISIT_FOUR = "回访";

		// 差错标记
		public static final String LOG_TYPE_ERROR_MARKER = "5";
		public static final String LOG_TYPE_ERROR_MARKER_FIVE = "差错标记";

		// 是否有责
		public static final String LOG_TYPE_IS_RESPONSIBILITI = "6";
		public static final String LOG_TYPE_IS_RESPONSIBILITI_SIX = "是否有责";

		//关注工单
		public static final String MONITOR_WORK_ORDER_CODE = "7";
		public static final String MONITOR_WORK_ORDER_NAME = "关注工单";

		//取消关注
		public static final String CANCEL_WORK_ORDER_CODE = "8";
		public static final String CANCEL_WORK_ORDER_NAME = "取消关注";

		//驳回
		public static final String OVERRULED_CODE = "9";
		public static final String OVERRULED_NAME = "驳回";

		//短信发送
		public static final String MSG_SEND_CODE ="10";
		public static final String MSG_SEND_NAME ="短信发送";

		//改派
		public static final String REASSIGN_CODE ="11";
		public static final String REASSIGN_NAME = "改派";

		//撤回
		public static final String WITHDRAW_CODE ="12";
		public static final String WITHDRAW_NAME = "撤回";

		//关闭
		public static final String CLOSE_ORDER_CODE ="13";
		public static final String CLOSE_ORDER_NAME = "关闭";

		//删除
		public static final String DELETE_ORDER_CODE ="14";
		public static final String DELETE_ORDER_NAME = "删除";
	}
	/**
	 * 自定义字段
	 */
	public static class CustomFieldConstant {
		//优先级id
		public static final int PRIORITY_ID = 3;
		//工单来源
		public static final int SOURCE_ID = 4;
	}
	/**
	 * 工单节点信息
	 */
	public static class WorkOrderNodeInfo {
		// 单模板
		public static final String FORM_KEY_SIGN_ONE = "0";
		// 多模板
		public static final String FORM_KEY_SIGN_MORE = "1";
	}

	/**
	 * 工单状态
	 */
	public static class WorkOrderState {
		// 全部
		public static final int ALL = 0;
		// 编辑中
		public static final int WAIT_EDIT = 1;
		// 处理中
		public static final int HANDLING = 2;
		// 已完成
		public static final int ALREAAY_CASE = 3;
		// 已关闭
		public static final int ALREDAY_CLOSE = 4;
		// 状态不变
		public static final int NO_CHANGE = 11;
	}
	public static class FlowButtonTag{
		// 不能流转处理，可催单
		public static final int URGE = 0;
		// 可流转处理，不能催单
		public static final int HANDLE = 1;
		// 不能处理
		public static final int NO_HANDLE = 2;

	}
	/**
	 * 工单处理操作按钮类型
	 */
	public static class WorkOrderProcessButton {
		// 跳转
		public static final String JUMP = "tiaozhuan";
		// 转派
		public static final String DISTRIBUTE = "zhuanpai";
		//转出
		public static final String FLOW_OUT = "flowOut";
		// 结案，作废
		public static final String END = "end";
		// 保存
		public static final String SAVE = "save";
	}
	/**
	 * 工单类型创建方式
	 */
	public static class WorkOrderTypeCreateWay{
//		内部创建
		public static final String INNER_CREATE ="0";
//		外部创建
		public static final String EXTERNAL_CREATE ="1";

	}

	/**
	 * 工单基础字段解释
	 */
	public static class WorkOrderBaseFieldMeanig{
		public static final String WORK_ORDER_ID ="工单编号";
		public static final String WORK_ORDER_ID_FIELD ="workOrderId";
		public static final String WORK_ORDER_TYPE ="工单类型";
		public static final String WORK_ORDER_TYPE_FIELD ="work_order_type_id";
		public static final String STATUS ="工单状态";
		public static final String STATUS_FIELD ="status_id";
		public static final String TITLE ="工单标题";

		public static final String EXTERNAL_WORK_ORDERID ="外部工单编号";
		public static final String EXTERNAL_WORK_ORDERID_FIELD="externalWorkOrderId";
		public static final String ACCOUNT_ID ="客户编号";

		public static final String SOURCE ="工单来源";
		public static final String SOURCE_FIELD ="source";
		public static final String PRIORITY ="工单优先级";
		public static final String PRIORITY_FIELD ="priority";
		public static final String CHANNEL ="交易渠道";
		public static final String CHANNEL_FIELD="channel";
		public static final String CLIENT_NAME ="客户姓名";
		public static final String CLIENT_NAME_FIELD ="clientName";
		public static final String PHONE ="来电号码";

		public static final String SEX ="客户性别";

		public static final String CLIENTTEL ="客户电话";

		public static final String CARDTYPE ="证件类型";

		public static final String CARDNUM ="证件号";

		public static final String CARDACCOUNT ="客户账号";

		public static final String BANK ="开户行";

		public static final String CLASSIFY ="工单分类";

		public static final String ISSEND ="工单抄送";

		public static final String INSTITUTION ="涉及机构";

		public static final String PROBLEMDESC ="问题描述";

		public static final String CUSTOM_FIELD = "客户定制字段";
		public static final String CUSTOM_FIELD_FIELD = "customField";
		public static final String MERGE_WORK_ORDER = "合并工单字段";
		public static final String MERGE_WORK_ORDER_FIELD = "combineWorkOrderIds";


		public static final String CREATE_USER_ID= "createUserId";
		public static final String CREATE_TIME= "createTime";
	}

	/**
	 * 工单模板Content json字段
	 */
	public static class FormTemplateType{
//		json value
		public static final String GRID ="grid";
//		json key
		public static final String LIST ="list";
		public static final String COLUMNS ="columns";
		public static final String TYPE ="type";
		public static final String MODEL ="model";
		public static final String NAME ="name";
		public static final String OPTIONS = "options";
		public static final String DEFAULT_VALUE = "defaultValue";
		public static final String SELECT ="select";
		public static final String DATE_TIME_RANGE ="datetimerange";
		public static final String CASCADER="cascader";
		public static final String DATE_RANGE="daterange";
		public static final String DATE="date";

	}

	public static class CreateWorkOrderFieldReflectKey{
		public static final String WORKORDERFIELDREFLECTKEY ="workOrderFieldReflect";
	}

	/**
	 * 过滤器一级id
	 */
	public static class FilterFirst{
		// 工单标题id
		public static final int WORK_ORDER_TITLE_ID =1;
		// 工单描述id
		public static final int WORK_ORDER_DESCRIBE_ID =2;
		// 客户名称id
		public static final int CUSTOM_NAME_ID =3;
		// 客户电话id
		public static final int CUSTOM_PHONE_ID =4;
		// 工单状态id
		public static final int WORK_ORDER_STATUS_ID =5;
		// 工单优先级id
		public static final int WORK_ORDER_PRIORITY_ID =6;
		// 工单来源id
		public static final int WORK_ORDER_SOURCE_ID =7;
		// 工单节点id
		public static final int WORK_ORDER_NODE_ID =8;
		// 工单创建人id
		public static final int WORK_ORDER_CREATOR_ID =9;
		// 工单当前受理人id
		public static final int WORK_ORDER_CURRENT_RECEIVER_ID =10;
		// 工单历史受理人id
		public static final int WORK_ORDER_HISTORY_RECEIVER_ID =11;
		// 工单发起日期id
		public static final int WORK_ORDER_INITIATE_TIME_ID =12;
		// 工单完成日期id
		public static final int WORK_ORDER_COMPLATE_TIME_ID =13;
		// 工单当前受理人id
		public static final int WORK_ORDER_URGE_COUNT_ID =14;
		// 工单创建后时长id
		public static final int WORK_ORDER_CREATED_TIME_ID =15;
		// 工单关闭后时长id
		public static final int WORK_ORDER_CLOSED_TIME_ID =16;
		// 催办状态id
		public static final int URGE_STATUS_ID =17;
		// 拨打状态id
		public static final int CALL_STATUS_ID =18;
		// 已关注id
		public static final int MONITOR_ID =19;
		//超时
		public static final int TIME_OUT=20;
	}
	/**
	 * 过滤器二级id
	 */
	public static class FilterSecond{

		// 包含不包含
		public static final int CONTAIN_ID_ONE =1;
		// 是或者不是
		public static final int YES_ID_TWO =2;
		// 用户角色是或者不是
		public static final int USER_YES_ID_THREE =3;
		// 早于  晚于  介于
		public static final int BEFORE_ID_FOUR =4;
		// 大于  等于  小于
		public static final int EQUAL_ID_FIVE =5;
		// 大于  介于  小于
		public static final int BETWEEN_ID_SIX =6;

	}
	/**
	 * 过滤器条件对应的数据库字段
	 */
	public static class FilterConditionField {
		// 关注人ids
		public static final String WORK_ORDER_MONITOR_ID  =
				"b.work_order_monitor_id";
		// 当前处理人ids
		public static final String CURRENT_HANDLER_ID  = "a.current_handler_id";
		// 历史处理人ids
		public static final String HISTORY_HANDLER_ID  = "a.history_handler_id";
	}
	/**
	 * 过滤器二级拉id
	 */
	public static class FilterSecondVal{
		// 大于
		public static final int LARGE_ONE =1;
		// 小于
		public static final int SAMLL_TWO =2;
		// 介于
		public static final int BETWEEN_THREE =3;
	}

	/**
	 * 二级过滤器content参数
	 */
	public static class FilterSecondContentParam{
		public static final String TYPE ="type";
		public static final String DATA ="data";
		public static final String ID ="id";
		public static final String NAME ="name";

	}
	/**
	 * 工单分配方式
	 */
	public static class WorkOrderDistributionWay{
		//工单领取 Y为已领取
		public static  final String ISRECIEVE_Y = "Y";
		// 工单池
		public static final String WORK_ORDER_POOL = "work_order_pool";
		// 领取方式
		public static final String RECIEVE_WAY = "receive_way";
		// 依次自动分配
		public static final String SEQUENCE_DISTRIBUTION = "sequence_distribution";
	}
	/**
	 * 字段存储模式
	 */
	public static class FieldSaveMode {
		// 单独存储
		public static final String SINGLE  = "single";
		// 逗号分割联合存储
		public static final String UNION = "union";
	}
	/**
	 * 拼接sql之间关系关键字
	 */
	public static class SqlRelationKey {
		// 且
		public static final String AND  = "and";
		// 或
		public static final String OR = "or";
	}
	public static class CurrentLoadUser{
		//当前登录用户key
		public static final String CURRENT_LOAD_USER_KEY ="currentLoadUser";
		//当前登录用户value
		public static final String CURRENT_LOAD_USER_VALUE="当前登录用户";

		//当前登录用户角色key
		public static final String CURRENT_LOAD_USER_ROLE_KEY ="currentLoadUserRole";
		//当前登录用户角色value
		public static final String CURRENT_LOAD_USER_ROLE_VALUE="当前登录用户角色";

		//当前登录用户key
		public static final String CURRENT_LOAD_USER_DEPT_KEY ="currentLoadUserDept";
		//当前登录用户value
		public static final String CURRENT_LOAD_USER_DEPT_VALUE="当前登录用户部门";

		//当前登录用户key
		public static final String CURRENT_CREATOR_KEY ="currentCreator";
		//当前登录用户value
		public static final String CURRENT_CREATOR__VALUE="创建人";

	}
	/**
	 * 过滤器用户角色筛选
	 */
	public static class FilterUserAndRole{

		public static final String SECOND_TYPE_ID_ROLE ="role";

		public static final String SECOND_TYPE_ID_USER = "user";

		public static final String SECOND_TYPE_ID_DEPT = "dept";

	}

	/**
	 * 控制层对字段长度的校验
	 */
	public static class ControllerStrLengthCheck{
		public static final int LENGTH =20;
	}

	/**
	 * 任务超时记录
	 */
	public static class TaskTimeOutRecordConstant{
		// 已发送
		public static final String IS_SEND_MSG_Y ="Y";
		// 未发送
		public static final String IS_SEND_MSG_N ="N";

		// 发送短信时长设置默认30分钟
		public static final long TIME_LENGTH = 30;
	}
	/**
	 * 内管配置模板
	 */
	public static class TemplateConfig{
		// 30分钟未处理工单提醒模板名称
		public static final String WARN_MSG_TEMPLATE_NAME ="工单未处理提醒";
		// 工单超时短信模板名称
		public static final String TIME_OUT_MSG_TEMPLATE_NAME ="工单超时提醒";
		// 工单超时短信模板名称
		public static final String CALL_PHONE_TEMPLATE_NAME ="预约回电提醒";
		// 工单id变量名
		public static final String WORK_ORDER_ID = "{workOrderId}";
		// 工单H5登录地址workOrderUrl变量名
		public static final String WORK_ORDER_URL = "{workOrderUrl}";

	}
	/**
	 * 推送系统消息配置
	 */
	public static class SystemMsgConfig{
		// 30分钟未处理工单提醒模板名称
		public static final String SENDER_ID_SYS ="ticket_system";
		// 是否跳转Y是
		public static final String IS_JUMP_Y ="Y";
		// 是否跳转N是
		public static final String IS_JUMP_N ="N";
		// 是否跳转N是
		public static final String WORK_ORDER ="workOrder";
		// remark下的orderId字段工单id
		public static final String REMARK_ORDER_ID ="orderId";
		// remark下的isJump字段
		public static final String REMARK_IS_JUMP ="isJump";
		// remark下的systemType字段
		public static final String REMARK_SYSTEM_TYPE ="systemType";
	}

	/**
	 * 服务单工单类型名
	 */
	public static class OrderTypeField{
		// 服务单类型
		public static final String SERVE_TYPE ="seviceType";
		//工单类型
		public static final String ORDER_TYPE ="orderType";
	}


	/**
	 * 工单类型标识
	 */
	public static class OrderTypeTag{
		// 正常工单
		public static final String NORMAL ="normal";
		// 子工单（被合并的工单）
		public static final String SUB ="sub";
		// merge合并工单（合并生成的新工单）
		public static final String MERGE ="merge";
	}
	/**
	 * 催办状态
	 */
	public static class SysOptLog{
		/***************** 操作模块********************/
		// 工单
		public static final String OPT_MODULE_WORK_ORDER = "workOrder";
		// 工单类型
		public static final String OPT_MODULE_ORDER_TYPE = "orderType";
		// 自定义字段
		public static final String OPT_MODULE_ORDERCUSTOM_FIELD = "ordercustomField";
		// 自定义模板
		public static final String OPT_MODULE_OPT_MODULE_ORDERCUSTOM_TEMPLATE = "ordercustomTemplate";

		/***************** 状态********************/
		// 成功状态
		public static final String STATUS_SUCESS = "sucesss";
		// 失败状态
		public static final String STATUS_FAIL = "failure";

		/***************** 按钮类型********************/
		// 操作类型工单修改（英文）
		public static final String SERVICE_TYPE_EDIT= "Edit";
		// 操作类型工单修改（英文）
		public static final String SERVICE_TYPE_DELETE= "Delete";
		// 操作类型工单修改（英文）
		public static final String SERVICE_TYPE_EXPORT= "Export";

	}


	/**
	 * 参数设置：工单催单
	 */
	public static class NonSysDictParam{
		public static final String URGE_TIME_INTERVAL_NAME ="工单催单";
	}

	/**
	 * 子 父工单
	 */

	public static class IsChildren{
		public static final Integer IS_CHILDREN = 1;
		public static final Integer NON_CHILDREN = 0;
	}

	/**
	 * 转入工单人设定
	 */
	public static class FlowInto{

		public static final String FLOW_INTO_ID = "flowIntoId";
		public static final String FLOW_INTO_NAME= "转入者";
	}


	/**
	 * 默认工作时间段
	 */
	public static class DefaultWorkTime{
		public static final String START_TIME ="00:00:00";
		public static final String END_TIME ="23:59:59";
	}
	/**
	 * 所属表名
	 */
	public static class BelongToTable{
		public static final String WORK_ORDER_CUSTOMFIELD ="work_order.custom_field";
		public static final String WORK_ORDER ="work_order";
		public static final String WORK_ORDER_RELATION ="work_order_relation";
	}
	// 改派处理人标记
	public static final String  REASSIGN_CONTENT_TAG= "改派前处理人ids:";

	/**
	 * 消息参数
	 */
	public static class MsgParam{
		public static final String WORK_ORDER_ID ="workOrderId";
		public static final String MSG_TARGET_SIGN = "msgTargetSign";
		public static final String MSG_TYPE = "msgType";
		public static final String MSG_NOTIFY_TYPE = "msgNotifyType";
	}

	/**
	 * 消息类型
	 */
	public static class MsgType{
	//		短信
		public static final String MSG ="msg";
		public static final String MSG_NAME ="短信";
	//		系统消息
		public static final String SYSTEM_MSG ="sys_msg";
		public static final String SYSTEM_MSG_NAME ="系统消息";
	//		邮件
		public static final String EMAIL ="email";
		public static final String EMAIL_NAME ="邮件";

	}

	/**
	 * 消息通知对象
	 */
	public static class MsgNotifyTarget{
		//		创建人
		public static final String CREATOR ="creator";
		//		系统消息
		public static final String HANDLER ="handler";
		//		抄送人
		public static final String Cc ="Cc";
		//		关注人
		public static final String MONITOR ="monitor";
		//		客户
		public static final String CUSTOMER ="customer";
	}

	/**
	 * 消息通知类型
	 */
	public static class MsgNotifyType{
		//		流转通知
		public static final String FLOW_NOTIFY ="flow_notify";
		//		超时通知
		public static final String TIME_OUT_NOTIFY ="time_out_notify";
		//		催单通知
		public static final String URGE_NOTIFY ="urge_notify";
		//		受理通知
		public static final String ACCEPTED_NOTIFY ="accepted_notify";
		//		结案通知
		public static final String COMPLETE_NOTIFY ="complete_notify";
		//		退回通知
		public static final String FALL_BACK_NOTIFY ="fall_back_notify";
	}

	public static class MsgTemplateParam{
		//		工单id
		public static final String WORK_ORDER_ID ="workOrderId";
		//		上一节点处理人
		public static final String BACK_NODE_HANDLER ="backNodeHandler";

		//		自定义字段前缀
		public static final String CUSTOM_FIELD_SUFFIX ="customField.";
	}
}
